import Vue from "vue"
import Vuex from "vuex"
import getters from "./getters"
import mutations from "./mutations"
Vue.use(Vuex);

const state = {
  token: '',//登录的token值
  login_user: {},//登录的用户信息
  show_loading: false,
  search_value: {},
  band_id: '',
  band_no: '',
  show_check_box: false,//是否展示多选框
  sample_id: '',//样衣id
  sample_no: '',//样衣记录id
}

export default new Vuex.Store({
  state,
  getters,
  mutations,
});
